Skip to content

Design System & CSS Variables Architecture - #594

Closed
DebasmitaBose0 wants to merge 1 commit into
komalharshita:mainfrom
DebasmitaBose0:enhancement/design-system-variables
Closed

Design System & CSS Variables Architecture#594
DebasmitaBose0 wants to merge 1 commit into
komalharshita:mainfrom
DebasmitaBose0:enhancement/design-system-variables

Conversation

@DebasmitaBose0

Copy link
Copy Markdown

Closed #593

Problem:
The style.css stylesheet uses hardcoded hex colors and sizing values throughout the file. This makes enforcing visual consistency difficult, scaling the design cumbersome, and supporting dynamic themes (like Dark Mode) nearly impossible.
Acceptance Criteria:

  • Extract all hardcoded color, spacing, and typography values into CSS custom properties (:root).
  • Implement the foundation for a responsive dark theme utilizing @media (prefers-color-scheme: dark).

Copilot AI review requested due to automatic review settings May 25, 2026 16:15
@vercel

vercel Bot commented May 25, 2026

Copy link
Copy Markdown

@DebasmitaBose0 is attempting to deploy a commit to the komalsony234-1530's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds CSS custom properties for the app’s design tokens and introduces a basic dark-mode override using prefers-color-scheme.

Changes:

  • Define global CSS variables for colors and spacing.
  • Add dark-mode overrides for main text and background variables.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread static/style.css
Comment on lines +1 to +13
:root {
--primary-color: #4f46e5;
--secondary-color: #10b981;
--text-main: #1f2937;
--bg-main: #ffffff;
--spacing-md: 1rem;
}
@media (prefers-color-scheme: dark) {
:root {
--text-main: #f9fafb;
--bg-main: #111827;
}
}
@komalharshita komalharshita added gssoc:invalid This doesn't seem right and removed type:accessibility ui labels May 25, 2026
@komalharshita

Copy link
Copy Markdown
Owner

Thanks for the contribution and for thinking about improving the design system architecture with CSS variables.

However, this PR is too incomplete to merge in its current state.

Right now the PR only introduces a few root-level CSS variables:

  • primary/secondary colors
  • text/background colors
  • spacing token

but none of the existing stylesheet actually migrates to use these variables. As a result:

  • the architecture change is not integrated,
  • the design system remains inconsistent,
  • and the new variables are effectively unused.

The PR title suggests a broader “Design System & CSS Variables Architecture” refactor, but the implementation is currently only a small starter snippet rather than a complete architectural improvement.

Additionally:

  • no existing hardcoded colors were replaced,
  • no component migration was done,
  • no documentation/guidelines were added,
  • and there’s no demonstration of maintainability benefits yet.

Because the feature is currently partial and not production-impactful, I’m closing this PR for now rather than merging an incomplete architecture layer.

You’re welcome to reopen with:

  • actual migration of components to CSS variables,
  • broader token coverage,
  • consistent usage across the stylesheet,
  • and documentation of the design system structure.

Appreciate the effort and direction here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:invalid This doesn't seem right gssoc-2026

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Design System & CSS Variables Architecture

3 participants